package com.fzfnn.scrapbook.mapper;

import com.fzfnn.scrapbook.entity.Journal;
import com.fzfnn.scrapbook.vo.LoginlogVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;
@Mapper
public interface LogMapper {
    @Select("select user_id AS userId,ip_address AS ipAddress,login_address AS loginAddress,login_time AS loginTime, message from login_log ")
    List<LoginlogVo> getloginlogs();
}
